package structural.adapter.object;

import structural.adapter.Alternator;
import structural.adapter.Alternator220;
import structural.adapter.ITransformer;

/**
 * @Description: 220v电压适配器
 * @Author: lxt
 * @CreateDate: 2019/11/1
 **/
public class Alternator220Adapter implements ITransformer {
    Alternator alternator220 = new Alternator220();

    public double transform() {
        return alternator220.output() / 11;
    }
}
